'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/login', controller.home.login);
  router.post('/api/zhu', controller.home.zhu);
  router.post('/api/user', controller.home.user);
};
